//
//  CommonApi.h
//  FinancialStore
//
//  Created by zhenqiu on 16/7/18.
//  Copyright © 2016年 zhenqiu. All rights reserved.
//

#ifndef CommonApi_h
#define CommonApi_h

#define REGISTER_DEVICE_ACTION @"/sys/register_device"
#define REGISTER_PUSH_CODE_ACTION @"sys/up_push_code"

#define GET_XINDAI_ZONE_ACTION @"xindai/get_xindai_zones_all"
#define GET_VERIFY_CODE_ACTION @"sns/get_verify_code"
#define LOGIN_ACTION @"userLogin/login"
#define LOGIN_REGISTER @"userLogin/signin"
#define LOGIN_FORGOT @"userLogin/forgot_password"
#define EXIT_ACTION @"userLogin/logout"

//home
#define GET_CREDITCARD_BANKLINE @"credit/get_online_bank_list"
#define GET_CREDITCARD_BANK @"credit/get_bank_list"
#define GET_CREDITCARD_LIST @"credit/get_card_list"
#define GET_CREDITCARD_TAGS @"credit/get_card_tags"
#define GET_CREDITCARD_COUNT @"loan/get_count" //首页贷款和信用卡申请人数


#define GET_CREDITCARD_DETAIL @"credit/get_card_detail"
#define GET_CREDITCARD_DETAIL_NEW @"credit/get_card_detail_new"

#define ADD_USERCENTER_ADD_CARD_APPLY_RECORD @"UserCenter/add_card_apply_record"
#define GET_USERCENTER_ADD_CARD_APPLY_RECORD_LIST @"UserCenter/get_card_apply_record"
//credit
#define GET_CREDIT_INDIVIDUAL @"creditnum/get_services_list"
#define GET_CREDIT_UPLOAD @"creditnum/send_user_info"
#define GET_CREDIT_UPLOAD_EMAIL @"creditnum/check_bill_email"
#define GET_CREDIT_UPLOAD_KALA @"creditnum/check_kaola"
//me
#define GET_ME_CREDITCARD_INQUIRE @"credit/get_bank_list_all"
#define GET_ME_VERIGY_PHONE @"sns/check_verify_code"
#define GET_ME_MY_LOAN @"loan/get_my_list"
#define USER_UPLOAD_AVATAR_ACTION @"userCenter/update_avatar"
#define USER_UPLOAD_IMAGE_ACTION @"creditnum/send_user_img"
#define ADD_USER_FEEDBACK_MSG @"userLogin/feedback"
// loan
#define REQUEST_LOAN_ACTION @"loan/send_apply"

//bill
//bill
#define ADD_USERCENTER_ADD_BIND_CARD @"userCenter/bind_card"
#define GET_ME_BILL_CREDITCARD_MYLIST @"userCenter/get_spider_card_list"
#define GET_ME_BILL_DETAIL_HAND @"userCenter/get_bind_card_detail"
#define DELETE_ME_BILL_DETAIL_HAND @"userCenter/del_bind_card"
#define GET_ME_BILL_EMAIL_LIST @"credit/get_email_list"
#define ADD_USERCENTER_ADD_EMAIL_BILL @"userCenter/update_statement"
#define GET_ME_BILL_CARD_DETAIL_SPIDER @"userCenter/get_spider_card_detail"
#define GET_ME_BILL_LIST_SPIDER_PAST @"userCenter/get_spider_statement_list"
#define GET_ME_BILL_MONTH_DETAIL @"userCenter/get_spider_statement_detail"

//discover //发现模块顶部轮播图
#define GET_DISCOVER_TOP_BANNER @"credit/get_banner_list"
//发现模块热门咨询
#define GET_DISCOVER_HOTNEWSINFOLIST @"article/get_article_list"

#define GET_ME_PHONENUMBER_VERIFY @"sns/get_verify_code"
#define GET_ME_PASSWORD_MODFIY @"/userCenter/change_password"
#define GET_ME_PHONENUMBER_MODIFICATION @"userCenter/change_mobile"


//protocol
#define GET_PROTOCOL_BILL_SERVICE_URL @"/home/rongba/bill.html"
#define GET_PROTOCOL_USER_USE_URL @"/home/rongba/agreement.html"

#define CHECK_APP_STATUS_ACTION @"sys/appstore_check"
#define GET_TAB_CONTROL @"publicservice/get_tabcontrol"
#define GET_LOANLIST_H5_ADDRESS @"loan/get_speed_loan_h5"
#define CHEKC_APP_VERSION_ACTION @"sys/version_check"

#define GET_LOAN_BAOXIAN_STATUS @"Publicservice/zd_baoxian_status"
#define GET_LOAN_LIST_SHOW_STATUS @"publicservice/zq_loan_list_status"

#endif /* CommonApi_h */
